package AST;

import java.util.List;

public class ForStmt extends CompoundStmt {
	private Exprlist exprList;
	private Atom atom;
	private Suite forSuite;
	private Suite elseSuite;
	private SPyNumber num1, num2;

	public ForStmt(List<Expr> exprList, Atom atom, Suite forSuite,
			Suite elseSuite) {
		print();

		this.atom = atom;
		this.forSuite = forSuite;
		this.elseSuite = elseSuite;
	}

	public ForStmt() {
		print();
	}

	public Exprlist getExprList() {
		return exprList;
	}

	public void setExprList(Exprlist exprList) {
		this.exprList = exprList;
	}

	public Atom getAtom() {
		return atom;
	}

	public void setAtom(Atom atom) {
		this.atom = atom;
	}

	public Suite getForSuite() {
		return forSuite;
	}

	public void setForSuite(Suite forSuite) {
		this.forSuite = forSuite;
	}

	public Suite getElseSuite() {
		return elseSuite;
	}

	public void setElseSuite(Suite elseSuite) {
		this.elseSuite = elseSuite;
	}

	public void print() {
		System.out.println("ForStmt");
	}

	public SPyNumber getNum2() {
		return num2;
	}

	public void setNum2(SPyNumber num2) {
		this.num2 = num2;
	}

	public SPyNumber getNum1() {
		return num1;
	}

	public void setNum1(SPyNumber num1) {
		this.num1 = num1;
	}

	public void genC(PW pw) {

	}

}
